package org.rency.common.memcache.repository;

import java.util.List;

import org.rency.common.memcache.bean.MemcacheNode;

public interface NodeRepository {

	public List<MemcacheNode> loadAll();
	
	public MemcacheNode load(Integer id);
	
	public boolean save(MemcacheNode node);
	
	public boolean updateWeight(Integer id,Integer weight);
	
	public boolean delete(Integer id);
	
}